                <div class="tableMain">
                	<form method="post" class="one">
                    <table class="right-table" width="99%"  border="0px" cellpadding="0" align="center" cellspacing="0" >
                    <tbody>
                    <tr>
                    <th>序号</th>
                    <th>名称</th>
                    <th>pid</th>
                    <th id="clearTDrightBorder">操作</th>
                    </tr>
                    <?php foreach ($arr as $key => $value):?>
                        <tr>
                        <td width="30px;"><input name="id[]" type="checkbox" value="<?php echo $value['id'];?>" /><?php echo $value['id'];?></td>
                        <td style="text-align:center;">
							<?php echo $value['name'];?>
						</td>
                        <td style="text-align:center;"><?php echo $value['pid']?></td>
                        <td id="clearTDrightBorder" style="text-align:center;">
                        	<a href="<?php echo 'index.php?admin=1&c=category&a=edit&id='.$value['id'];?>">修改</a>
                            <a href="<?php echo 'index.php?admin=1&c=category&a=delete&id='.$value['id'];?>" onclick="return confirm('是否删除？','是','否');">删除</a>
                            　预览
                        </td>
                        </tr>
                        <?php endforeach;?>
                    </tbody>
                    </table>
                    </form>
                </div>
                <form method="post" action="index.php?admin=1&c=category&a=list">
                <div id="page">
                <ul>
                </ul>
           		</div>
                </form>